package com.cn.lyl.lawyer.dao;

import com.cn.lyl.lawyer.model.entity.NewsTypeDependenceModel;
import org.apache.ibatis.annotations.Options;

import java.util.List;

public interface NewsTypeDependenceMapper {

    int insert(NewsTypeDependenceModel newsTypeDependenceModel);
    int deleteByTypeId(Integer id);
    int deleteByNewsId(Integer id);
    List<NewsTypeDependenceModel> findByNewsId(Integer id);
    List<NewsTypeDependenceModel> findByTypeId(Integer id);
    int update(NewsTypeDependenceModel newsTypeDependenceModel);
}
